<!-- BEGIN: MAIN -->
<HTML>
<HEAD>
<TITLE> WEBSITE :: ADMIN MODE </TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<LINK href="../css/admin_login.css" rel=stylesheet type=text/css>
<LINK href="../css/admin.css" rel=stylesheet type=text/css>
<link rel="stylesheet" href="../css/template_css.css" type="text/css" />
<link rel="stylesheet" href="../css/theme.css" type="text/css" />
<script language="JavaScript" type="text/JavaScript">
<!--
function del(ID,type,page){
	if(confirm('Are you sure you want delete this row?')==true){
		location.href = 'userProcess.php?ID='+ID+'&type='+type+'&page='+page;
	}
}
function update_org_site() {
	var f = document.frmData;
	var obj = f.elements["chkIsView[]"];
	if (obj){
		var del = false;
		if (obj.length) {
			for (i=0;i<obj.length;i++)
				if (obj[i].checked==true) del=true;
		} else {
			if (obj.checked==true) { del=true; }
		}
	}
	f.ac.value="update";
	f.action="{PHP.PHP_SELF}";
	f.target="_self";
	f.submit();
}
function onlyNumber()
{
	if((event.keyCode<48)||(event.keyCode>57))
	event.returnValue=false;
}
function onlyFloat()
{
	if((event.keyCode>=48)&&(event.keyCode<=57)||(event.keyCode==46))
	   event.returnValue=true;
	else
	   event.returnValue=false;
}
//-->
</script>

</HEAD>
<BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px;">
  {header_panel}
  <tr> 
    <td width="150" valign="top" bgcolor="#F1F3F5">
	{left_panel}
	</td>
    <td width="100%" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr bgcolor="#F1F3F5"> 
          <td width="2" valign="top"></td>
          <td colspan="2" valign="top"> <table width="100%" border="0" cellspacing="1" cellpadding="0">
              <tr> 
                <td colspan="2"><table width="100%" border="0" cellspacing="1" cellpadding="1" class="adminheading">
                    <tr bgcolor="#EFEFEF"> 
                      <th>{lbl_user}</th>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td height="430" valign="top" colspan="2"> 
				<form name="frmData" method="post" action="user.php">
                  <input type="hidden" name="ac" value="{ac}">
                  <input type="hidden" name="page" value="{page}">
                  <input type="hidden" name="key" value="{key}">
                  <table width="100%" class="adminlist" cellpadding="0" cellspacing="0">
				  <tbody>
                    <tr> 
                      <th>{lbl_no}</th>
                      <th>{lbl_username}</th>
                      <th>{lbl_firstname}</th>
                      <th>{lbl_lastname}</th>
                      <th>{lbl_avatar}</th>
                      <th>{lbl_edit}/{lbl_delete}</th>
                    </tr>
                    <!-- BEGIN: list -->					
					<input type="hidden" name="hiddenID[]" value="{list.id}">
                    <tr class="row0"> 
                      <td>{list.OrderNo}</td>
                      <td>{list.username}</td>
                      <td>{list.firstname}</td>
                      <td>{list.lastname}</td>
                      <td>{list.image}</td>                     
                      <td><a href="userWrite.php?ID={list.id}&page={page}">{lbl_edit}</a>/<a href="javascript:del('{list.id}','DEL','{page}')">{lbl_delete}</a></td>
                    </tr>
                    <!-- END: list -->
                    <tr class="menubar"> 
                      <td height="20" colspan="10" align="center">&nbsp; {pages} 
					  {err}
                      </td>
                    </tr>
                    <tr class="menubar"> 
                      <td height="20" colspan="10" align="right"> 
					  <input type="button" name="Button" value="{lbl_addnew}" onClick="javascript:location.href='userWrite.php';" align="right" class="button"> 
                      </td>
                    </tr>
					</tbody>
                  </table>
				</form>
                </td>
              </tr>
              
            </table>
            </td>
        </tr>
      </table></td>
  </tr>
  {footer_panel}
</table>
 
</BODY>
</HTML>
<!-- END: MAIN -->